package day1110.template;

import static common.PrintUtil.printLine;

/**
 * @author Mr.ma
 * @since 2022/11/10 16:19
 * 模板模式测试
 **/
public class TemplateTest {
    public static void main(String[] args) {
        printLine("王者荣耀");
        Game game = new WangZhe();
        game.play();
        printLine("和平精英");
        Game newGame = new ChiJi();
        newGame.play();
    }
}
